package ru.hh.team02.chat.messaging;

/**
 * private message
 */
public class PrivateMessage implements Message {
    private final String text;
    private int id;

    public String getText() {
        return " " + id + " " + text;
    }

    public PrivateMessage(String text, int id) {
        this.text = text;
        this.id = id;
    }
}
